public class Main {
    public static void main(String[] args) {
        Student[] students = new Student[5];
        students[0] = new Student("1号", "小点点", 100, 90, 85);
        students[1] = new Student("2号", "依古比古", 100, 65, 88);
        students[2] = new Student("3号", "玛卡巴卡", 66, 88, 75);
        students[3] = new StudentXW("4号", "孙悟空", 60, 66, 88, "学委");
        students[4] = new StudentBZ("5号", "白龙马", 88, 85, 77, "班长");
        for (Student student : students) {
            System.out.println(student.toString() + ",pingjunscore:" + student.testscore());
        }
    }
}
